package com.imc.core.config.feign;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by tanweiping on 2018/7/19.
 */
/*
* 类描述：声明式的httpclient的javaconfig
* 开发者：tanweiping
* 创建日期：2018/8/7 10:01
*/
@Configuration
public class FeignConfig {
    /*
    * tanweiping  2018/8/7 10:19
    * 方法描述：返回feign请求的日志级别
    */
    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }
}